<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>account</title>
    <!-- zui -->
    <link rel="stylesheet" type="text/css" href="css/normalize.css">
    <link rel="stylesheet" type="text/css" href="css/zui.min.css">
    <link rel="stylesheet" type="text/css" href="css/doc.min.css">
    <style type="text/css">
    	header{background: #ef673c;color: #fff}
    	h2{margin: 0;padding: .5em 0;}
    	.icon-arrow-left{font-size: inherit;}
    	.font-lg{font-size: 1.5rem}
    	.gray{color:#999;border-bottom: 1px solid #999}
    	.can-text{position:absolute;top:50%;left:50%;-webkit-transform: translate(-50%,-50%);transform: translate(-50%,-50%);}
    	.color-1{color: red}
    	.color-2{color: #666}
    	.recharge{background: #ef673c;color:#fff;margin-bottom: 1em}
    	.recharge:focus,.recharge:active{background: #ef673c;}
    	.withdrawals{background: #88e88e;color: #fff}
    	.withdrawals:focus,.withdrawals:active{background: #88e88e;}

    	.row{margin: 0}
    	.btn{border:0 none;border-radius: 0;text-shadow: none;padding: .8em 0}
    	.btn:focus,.btn:active{color: inherit;border:0;box-shadow: none;color:#fff;}
    </style>
</head>
<body class="hidden-md hidden-lg">
	<header class="clearfix">
		<div class="col-xs-2">
			<h2><i class="icon icon-arrow-left"></i></h2>
		</div>
		<div class="col-xs-8 text-center"><h2>账户管理</h2></div>
	</header>
	<div class="container">
		<div class="row" style="margin-top:1em">
			<div class="col-xs-6 text-left"><a class="font-lg" href="">账户说明</a></div>
			<div class="col-xs-6 text-right"><a class="font-lg gray" href="">账户流水信息</a></div>
		</div>
		<div class="row text-center" style="margin-top:2em;font-size:1.2rem;margin-bottom:2em">
			<div class="col-xs-2"></div>
			<div class="col-xs-8" style="position:relative">
				<canvas id="myChart" width="400" height="400"></canvas>
				<div class="container can-text">
					<div class="row color-1">500.0元</div>
					<div class="row color-2">总金额</div>
				</div>
			</div>
		</div>

		<div class="row" style="margin-bottom:2em;font-size:1.4rem">
			<div class="col-xs-5 text-left">奖学金：113.00元</div>
			<div class="col-xs-7" style="padding-top:.2em">
				<div class="" style="padding:1em 0 0;background:#ccc"></div>
				<div class="row" style="font-size:1rem">
					<div class="col-xs-6 text-left" style="padding:0">可用：113.00元</div>
					<div class="col-xs-6 text-right" style="padding:0">冻结：0.00元</div>
				</div>
			</div>
		</div>
		<div class="row" style="margin-bottom:2em;font-size:1.4rem">
			<div class="col-xs-5 text-left">平　台：0.00元</div>
			<div class="col-xs-7" style="padding-top:.2em">
				<div class="" style="padding:1em 0 0;background:#ccc"></div>
				<div class="row" style="font-size:1rem">
					<div class="col-xs-6 text-left" style="padding:0">可用：113.00元</div>
					<div class="col-xs-6 text-right" style="padding:0">冻结：0.00元</div>
				</div>
			</div>
		</div>
		<div class="row" style="margin-bottom:2em;font-size:1.4rem">
			<div class="col-xs-5 text-left">学　费：0.00元</div>
			<div class="col-xs-7" style="padding-top:.2em">
				<div class="" style="padding:1em 0 0;background:#ccc"></div>
				<div class="row" style="font-size:1rem">
					<div class="col-xs-6 text-left" style="padding:0">可用：113.00元</div>
					<div class="col-xs-6 text-right" style="padding:0">冻结：0.00元</div>
				</div>
			</div>
		</div>
	</div>
	<footer>
		<button class="btn btn-block recharge" type="button">学费充值</button>
		<button class="btn btn-block withdrawals" type="button">提现</button>
	</footer>
	<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
	<script type="text/javascript" src="js/zui.min.js"></script>
	<script type="text/javascript" src="js/chart.min.js"></script>
	<script type="text/javascript">
		// 使用jquery方法获取 2d context 对象
		var ctx = $("#myChart").get(0).getContext("2d");
		// 或者使用 document.getElementById 获取 2d context 对象
		// var ctx = document.getElementById("myChart").getContext("2d");

		// 使用$.zui.Chart构造Chart实例
		//var myNewChart = new $.zui.Chart(ctx);
		var data = [
			{
			    value: 100,
			    color: "#b3ffba", // 使用颜色名称
			    label: "蓝队"
			},
			{
			    value: 100,
			    color: "#ffdada", // 使用颜色名称
			    label: "蓝队"
			}];

		// 图表配置项，可以留空来使用默认的配置
		var options = {
			scaleShowLabels: false, // 展示标签
		    //Number - 环形中间留空圆形半径的百分比
		    percentageInnerCutout : 60, // 如果设置为0则为一般实心饼图
    		animateRotate : false,
		};

		
		// 创建饼图
		var myPieChart = $("#myChart").pieChart(data, options);
		// 创建环形饼图
		var myDoughnutChart = $("#myChart").doughnutChart(data, {segmentShowStroke: false});
	</script>
</body>
</html>